package com.xinxuan.contentcenter.fallback;

import org.springframework.stereotype.Component;

import com.xinxuan.contentcenter.dto.UserAddBonusDTO;
import com.xinxuan.contentcenter.dto.UserDTO;
import com.xinxuan.contentcenter.feignclient.UserCenterFeignClient;

@Component
public class UserCenterFeignClientFallBack implements UserCenterFeignClient {
    @Override
    public UserDTO findById(Integer id) {
        UserDTO userDTO = new UserDTO();
        userDTO.setWxNickname("信心信息向您新潟县内");
        return userDTO;
    }

    @Override
    public UserDTO addBonus(UserAddBonusDTO userAddBonusDTO) {
        return null;
    }
}
